|
|
Could you please help me with creating of script for menu?
Return to Recent Questions
Q:
Could you please help me to create script for menu, software look fine but we don't have time to
test the code, tutorial will be appricieted.
I would prefer to have additional documentation or tutorial video but as
I have seen on you website there is not.
I have also to mix the script for menu with php.
A:
Unfortunately, we don't have tutorial yet, we'll try to create it in
the nearest future.
To create the pop up script for menu you should to do the following steps:
1. Create your script for menu in DHTML Tuner application.
You can create any script for menu as you like in DHTML Tuner.
DHTML Tuner v2.4 supports DHTML Menu (http://dhtml-menu.com) &
DHTML Tree (http://dhtml-menu.com/dhtml-tree/) & DHTML Tabs (http://dhtml-menu.com/tabs/)
You can use ready to use templates. You can find them in the templates
window.
When you open DHTML Tuner ( DHTML Menu ) you can click "File/New"
and add items and subitems using buttons "Add Item" and "Add Subitem" on
the main window.
You should set items and subitems parameters on the "Item Parameters"
window.
See also other parameters for the menu on the main window.
More info about menu parameters you can find on our site (you can also
use local version of the site which you can find in the trial package
"DHTML Menu / dhtml-menu.com/menu/ /")
http://dhtml-menu.com/menu/parameters-info.html
http://dhtml-menu.com/menu/menu-items-info.html
You can also use Individual Styles for items and subitems
http://dhtml-menu.com/menu/individual-item-styles-info.html
http://dhtml-menu.com/menu/individual-submenu-styles-info.html
2. You should install the menu on your page.
You can click, for example, File/Export to HTML (you can't do it in
the MAC version).
Add several rows into your html page.
<head>
...
<!-- DHTML Menu -->
<noscript><a href="http://dhtml-menu.com">Script for menu by DHTML-Menu.com</a></noscript>
<script type="text/javascript">var dmWorkPath="menu.files/";</script>
<script type="text/javascript" src="menu.files/dmenu.js"></script>
<script type="text/javascript" src="data-menu.js"></script> //data-menu.js - data file created in DHTML Tuner.
...
</head>
<body>
...
<img src="menu.files/logo_w.gif" onClick="return dm_popup(0, 1000, event);">
...
</body>
Where return dm_popup(menuInd, pause, event, x, y)
menuInd - index of the menu on a page, >= 0.
pause - determines the time when the menu will be hidden.
event - constant. Do not change.
x, y - optional. Set these parameters if you want the menu to appear in the specified place. In other case the menu will be shown in the mouse position.
You should also copy all engine files
dmenu.js
dmenu4.js
dmenu_add.js
dmenu_dyn.js
dmenu_key.js
dmenu_cf.js
dmenu_popup.js
dmenu_ajax.js
into "menu.files/" folder. You should place this folder in the
same folder with your index. html page.
Try that.
Return to Recent Questions
Related:
- March 26, 2009 - Can you throw some light on how to create horizontal pulldown menu on ASP?
- Apr 12, 2009 - Could you tell me how to create html form menu if it's possible?
- May 06, 2009 - I am looking to create a collapsible javascript to use it on a CD. Which license should I buy?
- Jun 06, 2009 - I tried to create the html version of the javascript menu dynamique but it is still not working.
- Jun 06, 2009 - Can I use this software to create web navigation design on a Mac (Mac OSX)?
- Jun 07, 2009 - Is it possible to create the following functionalities in your html navigation menu?
- Jul 11, 2009 - I'm trying to create two separate dhtml menus on my page.
- Jul 15, 2009 - Can I create the following sample with your dynamic navigation menu?
- Jul 27, 2009 - I created a custom page for our site, but the popup menu right won't display.
- Aug 05, 2009 - We have several problems with your dhtml menu free. Please, help to solve these problems!
- Aug 09, 2009 - Can I create my floating multiple drop down menus to make it search engines friendly?
|